<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
    <link rel="stylesheet" href="./css/jquery.mobile-1.4.5.min.css">
    <script src="./js/jquery.min.js"></script>
    <script src="./js/jquery.mobile-1.4.5.min.js"></script>
</head>
<body>
<div data-role="page" id="page1">
    <div data-role="header">
        <h1>头部</h1>
    </div>
    <div data-role="main" class="ui-content">
        <h1>内容区域</h1>
        <a href="#page2">跳转到第二个页面</a>
    </div>
    <div data-role="footer">
        <h1>底部</h1>
    </div>
</div>
<!--在链接中添加data-rel="dialog"让用户点击链接时弹出对话框:-->
<div data-role="page" id="page2" data-dialog="true">
    <div data-role="header">
        <h1>头部2</h1>
    </div>
    <div data-role="main" class="ui-content">
        <h1>内容区域2</h1>
        <a href="#page1">跳转到第二个页面</a>
    </div>
    <div data-role="footer">
        <h1>底部2</h1>
    </div>
</div>
</body>
</html>